package com.flyme.module.auth.client.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 *
 */
@Component
@ConfigurationProperties(prefix = "flyme.social")
public class SocialOAuth2ClientProperties {

    private Map<String, SocialOAuth2ClientDetails> oauth2;

    public Map<String, SocialOAuth2ClientDetails> getOauth2() {
        return oauth2;
    }

    public void setOauth2(Map<String, SocialOAuth2ClientDetails> oauth2) {
        this.oauth2 = oauth2;
    }
}
